package com.baizhi.mall.service;

import com.baizhi.mall.entity.mysql.BzAdminRoleDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhw
 * @since 2021-05-17
 */
public interface IBzAdminRoleService extends IService<BzAdminRoleDO> {
    //查所有
    List<BzAdminRoleDO> selectAll();
    //增
    void insert(BzAdminRoleDO adminRoleDO);
    //改
    void update(BzAdminRoleDO adminRoleDO);
    //id
    List<BzAdminRoleDO> selectByAdminId(Integer adminId);
    //删除一个用户
    void deleteByAdminId(Integer adminId);
}
